// CMultiVge_Image.h: interface for the CMultiImage class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_CMULTIIMAGE_H__3F4E203B_B0C4_4FE5_93F2_B86501962A11__INCLUDED_)
#define AFX_CMULTIIMAGE_H__3F4E203B_B0C4_4FE5_93F2_B86501962A11__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

namespace ccgis{

class AFX_EXT_CLASS CMultiImage  
{
public:
	CMultiImage();
	virtual ~CMultiImage();

	BOOL Open(CString strPathName);
	int GetImageNum();
	BOOL ReadImage(int nIndex, int& nRow, int& nCol, BYTE*& pImage, int& nBitCount);
	BOOL Save(CStringArray& aPathNames, CString strOutPut);
protected:
	FILE* m_fpFile;
	CString m_strPathName;
	int m_nImageNum;
};

}//end of ccgis
#endif // !defined(AFX_CMULTIIMAGE_H__3F4E203B_B0C4_4FE5_93F2_B86501962A11__INCLUDED_)
